Skip to content

feat: add optional PLT and TLM markers during encoding#117

Merged
scaramallion merged 1 commit into
pydicom:mainfrom
bradh:plt_tlm_2025-12-10
Feb 22, 2026
Merged

feat: add optional PLT and TLM markers during encoding#117
scaramallion merged 1 commit into
pydicom:mainfrom
bradh:plt_tlm_2025-12-10

Conversation

@bradh
Copy link
Copy Markdown
Contributor

@bradh bradh commented Dec 10, 2025

These can significantly improve decoding performance when pulling a small area out of a very large file, where the decoder supports it.

OpenJPEG supports using the TLM marker as of uclouvain/openjpeg#1538

This adds support for the encode_array function and encode_buffer equivalent.

@scaramallion
Copy link
Copy Markdown
Member

Looks good

These can significantly improve decoding performance when pulling
a small area out of a very large file, where the decoder supports it.

OpenJPEG supports using the TLM marker as of uclouvain/openjpeg#1538
@bradh bradh force-pushed the plt_tlm_2025-12-10 branch from 64cbc17 to c2fc8e9 Compare December 19, 2025 22:48
@bradh bradh marked this pull request as ready for review December 19, 2025 22:52
@bradh
Copy link
Copy Markdown
Contributor Author

bradh commented Dec 19, 2025

Looks good

Sorry it took a while. Should now be OK for a review.

@scaramallion scaramallion merged commit 8c63bf9 into pydicom:main Feb 22, 2026
21 checks passed
@bradh bradh deleted the plt_tlm_2025-12-10 branch February 23, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants